#include <WinMain.h>
#include <Application.h>

INT WINAPI ALEMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPTSTR lpCmdLine,int nCmdShow)
{
	if (!g_pApp->VInitialize(hInstance, lpCmdLine))
	{
		return 0;
	}

	g_pApp->RunMainLoop();

	ShowCursor(TRUE);
	g_pApp->VClose();

	return 1;
}